import request from "@/util/request";
import type {Dict} from '@/api/dict/types'

export const getDictList = (type: string) => {
    return request<Dict[], Dict[], any>({
        url: '/dishes-service/dict/list',
        method: 'GET',
        params: {
            type
        }
    })
}